-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore(raft): Add debug logs to print all transactions #8890
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test comment
733ed93
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the description now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more comments, once you address those, the PR is good to go.
x/debug.go
Outdated
} | ||
|
||
func PrintMutationEdge(plist *pb.DirectedEdge, key ParsedKey, startTs uint64) { | ||
glog.V(2).Infof("[TXNLOG] ADDING MUTATION at TS: %v, key: %v, value: %v \n", startTs, key.String(), plist) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need the space and \n at the end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please fix the title based on the instruction in the PR Template file as well as add the JIRA ticket number to the description.
Could you tell me what the PR title should look like / where the PR template file is? |
Add debug logs to print all transactions. This will reside under BUILD_TAGS=debug.
Live loader time on main: 17 min 28 sec
Live loader time with change: 16mins 21 sec
Live loader time with change, with debug on: 18 min 9 sec
Debug logs looks like:
Fixes: DGRAPHCORE-17